package com.hxh.common.enumerate;

/**
 * @author hxh
 */

public enum ResultEnum {
    SUCCESS(200),
    FAIL(400),
    UNAUTHORIZED(403);

    private final int code;

    private ResultEnum(int code){
        this.code=code;
    }


    public int code(){
        return this.code;
    }



}
